x86/spec-ctrl: Rename opt_ibpb to opt_ibpb_ctxt_switch
authorAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 4 Jul 2022 20:32:17 +0000 (21:32 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 12 Jul 2022 15:25:33 +0000 (16:25 +0100)
commite7671561c84322860875745e57b228a7a310f2bf
tree227dba1315fe7e66f1d94f1b2cbcfc66a157d606
parent31aa2a20bfefc3a8a200da54a56471bf99f9630e
x86/spec-ctrl: Rename opt_ibpb to opt_ibpb_ctxt_switch

We are about to introduce the use of IBPB at different points in Xen, making
opt_ibpb ambiguous.  Rename it to opt_ibpb_ctxt_switch.

No functional change.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
(cherry picked from commit a8e5ef079d6f5c88c472e3e620db5a8d1402a50d)
xen/arch/x86/domain.c
xen/arch/x86/spec_ctrl.c
xen/include/asm-x86/spec_ctrl.h